home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _F684C32BF69A4AA58D06FA8AFF49A2F0 < prev    next >
Encoding:
Text File  |  2004-01-06  |  5.3 KB  |  149 lines

  1. --------------------------------------------------
  2. --    Created By: Petar
  3. --   Description: <short_description>
  4. --------------------------
  5. --
  6.  
  7. AIBehaviour.ValerieIdle = {
  8.     Name = "ValerieIdle",
  9.  
  10.     -- SYSTEM EVENTS            -----
  11.     ---------------------------------------------
  12.     OnSelected = function( self, entity )    
  13.     end,
  14.     ---------------------------------------------
  15.     OnSpawn = function( self, entity )
  16.         -- called when enemy spawned or reset
  17.     end,
  18.     ---------------------------------------------
  19.     OnActivate = function( self, entity )
  20.     end,
  21.     ---------------------------------------------
  22.     OnNoTarget = function( self, entity )
  23.         -- called when the enemy stops having an attention target
  24.     end,
  25.     ---------------------------------------------
  26.     OnPlayerSeen = function( self, entity, fDistance )
  27.     end,
  28.     ---------------------------------------------
  29.     OnGrenadeSeen = function( self, entity, fDistance )
  30.         -- called when the enemy sees a grenade
  31.     end,
  32.     ---------------------------------------------
  33.     OnEnemySeen = function( self, entity )
  34.         -- called when the enemy sees a foe which is not a living player
  35.     end,
  36.     ---------------------------------------------
  37.     OnFriendSeen = function( self, entity )
  38.         -- called when the enemy sees a friendly target
  39.     end,
  40.     ---------------------------------------------
  41.     OnDeadBodySeen = function( self, entity )
  42.         -- called when the enemy a dead body
  43.     end,
  44.     ---------------------------------------------
  45.     OnEnemyMemory = function( self, entity )
  46.         -- called when the enemy can no longer see its foe, but remembers where it saw it last
  47.     end,
  48.     ---------------------------------------------
  49.     OnInterestingSoundHeard = function( self, entity )
  50.         -- called when the enemy hears an interesting sound
  51.     end,
  52.     ---------------------------------------------
  53.     OnThreateningSoundHeard = function( self, entity )
  54.         -- called when the enemy hears a scary sound
  55.     end,
  56.     ---------------------------------------------
  57.     OnReload = function( self, entity )
  58.         -- called when the enemy goes into automatic reload after its clip is empty
  59.     end,
  60.     ---------------------------------------------
  61.     OnGroupMemberDied = function( self, entity )
  62.         -- called when a member of the group dies
  63.     end,
  64.     ---------------------------------------------
  65.     OnNoHidingPlace = function( self, entity, sender )
  66.         -- called when no hiding place can be found with the specified parameters
  67.     end,    
  68.     --------------------------------------------------
  69.     OnNoFormationPoint = function ( self, entity, sender)
  70.         -- called when the enemy found no formation point
  71.     end,
  72.     ---------------------------------------------
  73.     OnReceivingDamage = function ( self, entity, sender)
  74.         -- called when the enemy is damaged
  75.     end,
  76.     ---------------------------------------------
  77.     OnCoverRequested = function ( self, entity, sender)
  78.         -- called when the enemy is damaged
  79.     end,
  80.     --------------------------------------------------
  81.     OnBulletRain = function ( self, entity, sender)
  82.         -- called when the enemy detects bullet trails around him
  83.     end,
  84.     --------------------------------------------------
  85.  
  86.  
  87.  
  88.     VAL_FOLLOW = function (self, entity, sender)
  89.         -- the team leader wants everyone to keep formation
  90.         entity:SelectPipe(0,"val_follow");
  91.     end,
  92.  
  93.  
  94.  
  95.     VAL_LEAD = function (self, entity, sender)
  96.         -- the team leader wants everyone to keep formation
  97.         entity:SelectPipe(0,"standingthere");
  98.     end,
  99.  
  100.     -- GROUP SIGNALS
  101.     ---------------------------------------------    
  102.     KEEP_FORMATION = function (self, entity, sender)
  103.         -- the team leader wants everyone to keep formation
  104.     end,
  105.     ---------------------------------------------    
  106.     BREAK_FORMATION = function (self, entity, sender)
  107.         -- the team can split
  108.     end,
  109.     ---------------------------------------------    
  110.     SINGLE_GO = function (self, entity, sender)
  111.         -- the team leader has instructed this group member to approach the enemy
  112.     end,
  113.     ---------------------------------------------    
  114.     GROUP_COVER = function (self, entity, sender)
  115.         -- the team leader has instructed this group member to cover his friends
  116.     end,
  117.     ---------------------------------------------    
  118.     IN_POSITION = function (self, entity, sender)
  119.         -- some member of the group is safely in position
  120.     end,
  121.     ---------------------------------------------    
  122.     GROUP_SPLIT = function (self, entity, sender)
  123.         -- team leader instructs group to split
  124.     end,
  125.     ---------------------------------------------    
  126.     PHASE_RED_ATTACK = function (self, entity, sender)
  127.         -- team leader instructs red team to attack
  128.     end,
  129.     ---------------------------------------------    
  130.     PHASE_BLACK_ATTACK = function (self, entity, sender)
  131.         -- team leader instructs black team to attack
  132.     end,
  133.     ---------------------------------------------    
  134.     GROUP_MERGE = function (self, entity, sender)
  135.         -- team leader instructs groups to merge into a team again
  136.     end,
  137.     ---------------------------------------------    
  138.     CLOSE_IN_PHASE = function (self, entity, sender)
  139.         -- team leader instructs groups to initiate part one of assault fire maneuver
  140.     end,
  141.     ---------------------------------------------    
  142.     ASSAULT_PHASE = function (self, entity, sender)
  143.         -- team leader instructs groups to initiate part one of assault fire maneuver
  144.     end,
  145.     ---------------------------------------------    
  146.     GROUP_NEUTRALISED = function (self, entity, sender)
  147.         -- team leader instructs groups to initiate part one of assault fire maneuver
  148.     end,
  149. }